<template>
    <div class="tabbar">
    <router-view >
        <van-tabbar route  active-color="#b4282d" >
            <van-tabbar-item replace   icon="home-o" to="/home">首页</van-tabbar-item>
            <van-tabbar-item replace   icon="search" to="/item">分类</van-tabbar-item>
            <van-tabbar-item replace  icon="point-gift-o" to="/topic">值得买</van-tabbar-item>
            <van-tabbar-item replace  icon="shopping-cart-o" to="/card">购物车</van-tabbar-item>
            <van-tabbar-item replace   icon="friends-o" to="/person">个人</van-tabbar-item>
        </van-tabbar>
    </router-view>
</div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
const active = ref('home')
</script>

<style scoped>

</style>